type runtime.mspan
101 uses
runtime (current package)
arena.go#L227: fullList *mspan
arena.go#L230: active *mspan
arena.go#L370: func (a *userArena) refill() *mspan {
arena.go#L413: *mspan // Must represent a user arena chunk.
arena.go#L437: func (s *mspan) userArenaNextFree(typ *_type, cap int) unsafe.Pointer {
arena.go#L635: func newUserArenaChunk() (unsafe.Pointer, *mspan) {
arena.go#L659: var span *mspan
arena.go#L748: func (s *mspan) isUnusedUserArenaChunk() bool {
arena.go#L757: func (s *mspan) setUserArenaChunkToFault() {
arena.go#L838: func freeUserArenaChunk(s *mspan, x unsafe.Pointer) {
arena.go#L896: func (h *mheap) allocUserArenaChunk() *mspan {
arena.go#L897: var s *mspan
malloc.go#L892: func nextFreeFast(s *mspan) gclinkptr {
malloc.go#L919: func (c *mcache) nextFree(spc spanClass) (v gclinkptr, s *mspan, shouldhelpgc bool) {
malloc.go#L1024: var span *mspan
mbitmap.go#L111: func (s *mspan) allocBitsForIndex(allocBitIndex uintptr) markBits {
mbitmap.go#L120: func (s *mspan) refillAllocCache(whichByte uintptr) {
mbitmap.go#L138: func (s *mspan) nextFreeIndex() uintptr {
mbitmap.go#L193: func (s *mspan) isFree(index uintptr) bool {
mbitmap.go#L209: func (s *mspan) divideByElemSize(n uintptr) uintptr {
mbitmap.go#L225: func (s *mspan) objIndex(p uintptr) uintptr {
mbitmap.go#L235: func (s *mspan) markBitsForIndex(objIndex uintptr) markBits {
mbitmap.go#L240: func (s *mspan) markBitsForBase() markBits {
mbitmap.go#L295: func badPointer(s *mspan, p, refBase, refOff uintptr) {
mbitmap.go#L339: func findObject(p, refBase, refOff uintptr) (base uintptr, s *mspan, objIndex uintptr) {
mbitmap.go#L726: func (s *mspan) initHeapBits(forceClear bool) {
mbitmap.go#L752: func (s *mspan) countAlloc() int {
mbitmap.go#L1347: func materializeGCProg(ptrdata uintptr, prog *byte) *mspan {
mbitmap.go#L1356: func dematerializeGCProg(s *mspan) {
mcache.go#L45: alloc [numSpanClasses]*mspan // spans to allocate from, indexed by spanClass
mcache.go#L83: var emptymspan mspan
mcache.go#L219: func (c *mcache) allocLarge(size uintptr, noscan bool) *mspan {
mcentral.go#L81: func (c *mcentral) cacheSpan() *mspan {
mcentral.go#L106: var s *mspan
mcentral.go#L196: func (c *mcentral) uncacheSpan(s *mspan) {
mcentral.go#L242: func (c *mcentral) grow() *mspan {
mgcmark.go#L864: var s *mspan
mgcmark.go#L1458: func greyobject(obj, base, off uintptr, span *mspan, gcw *gcWork, objIndex uintptr) {
mgcmark.go#L1564: func gcmarknewobject(span *mspan, obj, size uintptr) {
mgcsweep.go#L99: func (h *mheap) nextSpanForSweep() *mspan {
mgcsweep.go#L104: var s *mspan
mgcsweep.go#L334: *mspan
mgcsweep.go#L339: func (l *sweepLocker) tryAcquire(s *mspan) (sweepLocked, bool) {
mgcsweep.go#L462: func (s *mspan) ensureSwept() {
mgcsweep.go#L827: func (s *mspan) reportZombies() {
mgcwork.go#L366: var s *mspan
mheap.go#L83: allspans []*mspan // all spans out there
mheap.go#L269: spans [pagesPerArena]*mspan
mheap.go#L406: first *mspan // first span in list, or nil if none
mheap.go#L407: last *mspan // last span in list, or nil if none
mheap.go#L410: type mspan struct {
mheap.go#L412: next *mspan // next span in list, or nil if none
mheap.go#L413: prev *mspan // previous span in list, or nil if none
mheap.go#L506: func (s *mspan) base() uintptr {
mheap.go#L510: func (s *mspan) layout() (size, n, total uintptr) {
mheap.go#L534: s := (*mspan)(p)
mheap.go#L543: var new []*mspan
mheap.go#L682: func spanOf(p uintptr) *mspan {
mheap.go#L717: func spanOfUnchecked(p uintptr) *mspan {
mheap.go#L728: func spanOfHeap(p uintptr) *mspan {
mheap.go#L756: h.spanalloc.init(unsafe.Sizeof(mspan{}), recordspan, unsafe.Pointer(h), &memstats.mspan_sys)
mheap.go#L957: func (h *mheap) alloc(npages uintptr, spanclass spanClass) *mspan {
mheap.go#L961: var s *mspan
mheap.go#L990: func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
mheap.go#L999: func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
mheap.go#L1088: func (h *mheap) tryAllocMSpan() *mspan {
mheap.go#L1111: func (h *mheap) allocMSpanLocked() *mspan {
mheap.go#L1117: return (*mspan)(h.spanalloc.alloc())
mheap.go#L1123: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1143: func (h *mheap) freeMSpanLocked(s *mspan) {
mheap.go#L1175: func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
mheap.go#L1381: func (h *mheap) initSpan(s *mspan, typ spanAllocType, spanclass spanClass, base, npages uintptr) {
mheap.go#L1549: func (h *mheap) freeSpan(s *mspan) {
mheap.go#L1582: func (h *mheap) freeManual(s *mspan, typ spanAllocType) {
mheap.go#L1591: func (h *mheap) freeSpanLocked(s *mspan, typ spanAllocType) {
mheap.go#L1677: func (span *mspan) init(base uintptr, npages uintptr) {
mheap.go#L1699: func (span *mspan) inList() bool {
mheap.go#L1709: func (list *mSpanList) remove(span *mspan) {
mheap.go#L1734: func (list *mSpanList) insert(span *mspan) {
mheap.go#L1752: func (list *mSpanList) insertBack(span *mspan) {
mheap.go#L1817: func spanHasSpecials(s *mspan) {
mheap.go#L1825: func spanHasNoSpecials(s *mspan) {
mheap.go#L1907: func (span *mspan) specialFindSplicePoint(offset uintptr, kind byte) (**special, bool) {
mheap.go#L2030: func newSpecialsIter(span *mspan) specialsIter {
mspanset.go#L74: func (b *spanSet) push(s *mspan) {
mspanset.go#L141: func (b *spanSet) pop() *mspan {
mspanset.go#L397: func (p *atomicMSpanPointer) Load() *mspan {
mspanset.go#L398: return (*mspan)(p.p.Load())
mspanset.go#L402: func (p *atomicMSpanPointer) StoreNoWB(s *mspan) {
os_nonopenbsd.go#L11: func osStackAlloc(s *mspan) {
os_nonopenbsd.go#L16: func osStackFree(s *mspan) {
pinner.go#L267: func (s *mspan) pinnerBitSize() uintptr {
pinner.go#L274: func (s *mspan) newPinnerBits() *pinnerBits {
pinner.go#L281: func (s *mspan) getPinnerBits() *pinnerBits {
pinner.go#L285: func (s *mspan) setPinnerBits(p *pinnerBits) {
pinner.go#L292: func (s *mspan) refreshPinnerBits() {
pinner.go#L323: func (span *mspan) incPinCounter(offset uintptr) {
pinner.go#L344: func (span *mspan) decPinCounter(offset uintptr) bool {
runtime2.go#L675: buf [128]*mspan
stack.go#L392: var s *mspan
stack.go#L714: var s *mspan
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |